﻿using System;
using System.Collections.Generic;
using Search;
using SortOf;

namespace ExampleSearch
{
    class Program
    {
        static void Main()
        {
            ISearch searcher = new SequentialSearch();
            //ISort sort = new QuickSort();

            List<int> onzin = new List<int>()
            {
                50, 10, 40, 37, 120, 125, 9, 47, 57
            };

            //sort.Apply(onzin);
            int value = 57;
            Console.WriteLine(value + " op positie: " + searcher.Perform(onzin, value));
        }
    }
}
